package com.qf.pojo;


public class Books {

  private long bookid;
  private String bookname;
  private long categoryid;
  private long bookstatus;
  private long authorid;
  private double booktotalstars;
  private long booktotalstartimes;
  private double bookaveragestar;
  private String bookdescription;
  private java.sql.Timestamp shelftime;
  private long readernum;
  private long favnum;
  private long clicksnum;
  private long datastatus;
  private String bookpicurl;


  public long getBookid() {
    return bookid;
  }

  public void setBookid(long bookid) {
    this.bookid = bookid;
  }


  public String getBookname() {
    return bookname;
  }

  public void setBookname(String bookname) {
    this.bookname = bookname;
  }


  public long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(long categoryid) {
    this.categoryid = categoryid;
  }


  public long getBookstatus() {
    return bookstatus;
  }

  public void setBookstatus(long bookstatus) {
    this.bookstatus = bookstatus;
  }


  public long getAuthorid() {
    return authorid;
  }

  public void setAuthorid(long authorid) {
    this.authorid = authorid;
  }


  public double getBooktotalstars() {
    return booktotalstars;
  }

  public void setBooktotalstars(double booktotalstars) {
    this.booktotalstars = booktotalstars;
  }


  public long getBooktotalstartimes() {
    return booktotalstartimes;
  }

  public void setBooktotalstartimes(long booktotalstartimes) {
    this.booktotalstartimes = booktotalstartimes;
  }


  public double getBookaveragestar() {
    return bookaveragestar;
  }

  public void setBookaveragestar(double bookaveragestar) {
    this.bookaveragestar = bookaveragestar;
  }


  public String getBookdescription() {
    return bookdescription;
  }

  public void setBookdescription(String bookdescription) {
    this.bookdescription = bookdescription;
  }


  public java.sql.Timestamp getShelftime() {
    return shelftime;
  }

  public void setShelftime(java.sql.Timestamp shelftime) {
    this.shelftime = shelftime;
  }


  public long getReadernum() {
    return readernum;
  }

  public void setReadernum(long readernum) {
    this.readernum = readernum;
  }


  public long getFavnum() {
    return favnum;
  }

  public void setFavnum(long favnum) {
    this.favnum = favnum;
  }


  public long getClicksnum() {
    return clicksnum;
  }

  public void setClicksnum(long clicksnum) {
    this.clicksnum = clicksnum;
  }


  public long getDatastatus() {
    return datastatus;
  }

  public void setDatastatus(long datastatus) {
    this.datastatus = datastatus;
  }


  public String getBookpicurl() {
    return bookpicurl;
  }

  public void setBookpicurl(String bookpicurl) {
    this.bookpicurl = bookpicurl;
  }

  @Override
  public String toString() {
    return "Books{" +
            "bookid=" + bookid +
            ", bookname='" + bookname + '\'' +
            ", categoryid=" + categoryid +
            ", bookstatus=" + bookstatus +
            ", authorid=" + authorid +
            ", booktotalstars=" + booktotalstars +
            ", booktotalstartimes=" + booktotalstartimes +
            ", bookaveragestar=" + bookaveragestar +
            ", bookdescription='" + bookdescription + '\'' +
            ", shelftime=" + shelftime +
            ", readernum=" + readernum +
            ", favnum=" + favnum +
            ", clicksnum=" + clicksnum +
            ", datastatus=" + datastatus +
            ", bookpicurl='" + bookpicurl + '\'' +
            '}';
  }
}
